package domain;

/**
 * 学生工厂类
 *
 * @author licong
 * @date 2022-11-23 23:13
 */
public class StudentFactory {


    public static Student instance() {
        return new Student();
    }



    public static Student instanceDefault() {
        Student student = new Student();
        student.setAge(18);
        student.setName("Misyi");
        student.setGender("男");
        return student;
    }

}
